﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using CPPProject.CppModel;
using System;
using System.ComponentModel.DataAnnotations;

namespace CPPProject.CppServices.Dto
{
    [AutoMapFrom(typeof(GeoCoordMap))]
    public class GeoCoordMapDto : EntityDto<Guid>
    {
        /// <summary>
        /// 名字
        /// </summary>
        [MaxLength(100)]
        public string Name { get; set; }
        /// <summary>
        /// Y
        /// </summary>
        public decimal Y { get; set; }
        /// <summary>
        /// X
        /// </summary>
        public decimal X { get; set; }
        /// <summary>
        /// 公司ID
        /// </summary>
        [MaxLength(100)]
        public string NCompanyID { get; set; }
    }
}
